package com.xja.entity;

/**
 * @author zcy
 * @create 2022-05-05 17:23
 */
/*
* 账单表
* */
public class Bills {
    private Integer billsId;
    private Integer userId;
    private Integer roomId;
    private String selectSum;
    private Integer duration;

    public Bills(Integer billsId, Integer userId, Integer roomId, String selectSum, Integer duration) {
        this.billsId = billsId;
        this.userId = userId;
        this.roomId = roomId;
        this.selectSum = selectSum;
        this.duration = duration;
    }

    public Bills(Integer userId, Integer roomId, String selectSum, Integer duration) {
        this.userId = userId;
        this.roomId = roomId;
        this.selectSum = selectSum;
        this.duration = duration;
    }

    public Bills() {
    }

    public Integer getBillsId() {
        return billsId;
    }

    public void setBillsId(Integer billsId) {
        this.billsId = billsId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getRoomId() {
        return roomId;
    }

    public void setRoomId(Integer roomId) {
        this.roomId = roomId;
    }

    public String getSelectSum() {
        return selectSum;
    }

    public void setSelectSum(String selectSum) {
        this.selectSum = selectSum;
    }

    public Integer getDuration() {
        return duration;
    }

    public void setDuration(Integer duration) {
        this.duration = duration;
    }

    @Override
    public String toString() {
        return "Bills{" +
                "billsId=" + billsId +
                ", userId=" + userId +
                ", roomId=" + roomId +
                ", selectSum='" + selectSum + '\'' +
                ", duration=" + duration +
                '}';
    }
}
